/**
 * @file clickedoncelabel.h
 * @brief 只点击一次的Label
 * @author zhaobohan (zhaobohan_free@163.com)
 * @version 0.1
 * @date 2024-07-17
 */
#ifndef CLICKEDONCELABEL_H
#define CLICKEDONCELABEL_H
#include <QLabel>
#include <QMouseEvent>

class ClickedOnceLabel:public QLabel
{
    Q_OBJECT
public:
    ClickedOnceLabel(QWidget *parent=nullptr);
    virtual void mouseReleaseEvent(QMouseEvent *ev) override;

signals:
    void clicked(QString );
};

#endif // CLICKEDONCELABEL_H
